//
//  MR_Convert.h
//  MeiRiMoney
//
//  Created by qiuqk on 13-6-25.
//  Copyright (c) 2013年 MeiRiCai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MR_Convert : NSObject

+ (NSString *) getStringWithKey:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (long) getIntWithKey:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (long) getLongWithKey:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (double) getDoubleWithKey:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (NSDecimalNumber *) getDecimalWithKey:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (NSDate *) toDateFromJson:(NSString *)key fromDictionary:(NSDictionary *)dictionary;

+ (NSString *) intToString:(int)value;

+ (NSString *) longToString:(long)value;

+ (NSString *) floatToString:(float)value;

+ (NSString *) doubleToString:(double)value;

@end
